import request from '@/utils/request'

// 查询团购订单列表
export function listAppOtherTgOrder(query) {
  return request({
    url: '/app/information/appOtherTgOrder/list',
    method: 'get',
    params: query
  })
}

// 查询团购订单详细
export function getAppOtherTgOrder(id) {
  return request({
    url: '/app/information/appOtherTgOrder/' + id,
    method: 'get'
  })
}

// 新增团购订单
export function addAppOtherTgOrder(data) {
  return request({
    url: '/app/information/appOtherTgOrder',
    method: 'post',
    data: data
  })
}

// 修改团购订单
export function updateAppOtherTgOrder(data) {
  return request({
    url: '/app/information/appOtherTgOrder',
    method: 'put',
    data: data
  })
}

// 删除团购订单
export function delAppOtherTgOrder(id) {
  return request({
    url: '/app/information/appOtherTgOrder/' + id,
    method: 'delete'
  })
}
